﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;

namespace Infrastructure.Dispatcher
{
    /// <summary>
    /// 调度器配置
    /// </summary>
    public class DispatcherSetting
    {

        public DispatcherSetting() {
            DispatcherInterval = ConfigurationManager.AppSettings["DispatcherInterval"] == null ? 60000 : long.Parse(ConfigurationManager.AppSettings["DispatcherInterval"]);
        }

        /// <summary>
        /// 调度周期
        /// </summary>
        public long DispatcherInterval { get; set; }
    }
}
